package cn.xinfei.xdecision;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(exclude = {RabbitAutoConfiguration.class, MongoAutoConfiguration.class})
@EnableTransactionManagement
//@MapperScan({"cn.xinfei.xdecision.common.dao.**"})
@ComponentScan(basePackages = "cn.xinfei.xdecision.**")
@EnableAsync
@EnableFeignClients
public class XDecisionManagerWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(XDecisionManagerWebApplication.class, args);
    }

}
